<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>微信上传图片</title>
</head>
<body>
    <form action="{:Url('home/test/upfile')}" class="am-form am-form-horizontal" enctype="multipart/form-data"	method="post">
        
        <div class="am-form-group">
            <label for="user-name" class="am-u-sm-3 am-form-label">头像 </label>
            <div class="am-u-sm-9">
            <input type="file" name="image" >
            </div>
        </div>

        
        <div class="am-form-group">
            <div class="am-u-sm-9 am-u-sm-push-3">
            <button type="submit" class="am-btn am-btn-primary" name="up">添加</button>
            </div>
        </div>
        </form>
</body>
</html>